package dobest.ray.com.jiongjiong.activity.wanttoknow.consult;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import dobest.ray.com.jiongjiong.R;
import dobest.ray.com.jiongjiong.activity.BaseActivity;
import dobest.ray.com.jiongjiong.views.NavigationBar;

/**
 * Created by Ray on 2016/3/22.
 * https://github.com/ray0807
 */
public class ConsultOnlineOneActivity extends BaseActivity implements View.OnClickListener {
    private LinearLayout ll_quguang;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_consult_on_line_one);
        findViews();
        init();
        addListeners();
    }

    @Override
    public void findViews() {
        navi = (NavigationBar) findViewById(R.id.navi);
        navi.setTitle("在线咨询");
        navi.setBackListener(R.mipmap.img_back, "");
        ll_quguang = (LinearLayout) findViewById(R.id.ll_quguang);
    }

    @Override
    public void init() {

    }

    @Override
    public void addListeners() {
        ll_quguang.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        Intent it = null;
        switch (v.getId()) {
            case R.id.ll_quguang:
                it = new Intent(this, ConsultOnlineTwoActivity.class);
                break;
        }
        if (it != null) {
            startActivity(it);
        }
    }
}
